package com.iursp.domain.model.role;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.iursp.domain.model.BaseModel;

@Entity
@Table(name="auth_role_resource")
public class RoleResource extends BaseModel {

	private static final long serialVersionUID = -252285635462055341L;
	
	/**
	 * 角色ID
	 */
	@Column(name = "role_refid")
	private String roleRefid;
	/**
	 * 资源ID
	 */
	@Column(name = "resource_refid")
	private String resourceRefid;
	/**
	 * 标示是否有效
	 */
	@Column(name = "active")
	private Boolean active = Boolean.TRUE;
	public String getRoleRefid() {
		return roleRefid;
	}
	public void setRoleRefid(String roleRefid) {
		this.roleRefid = roleRefid;
	}
	public String getResourceRefid() {
		return resourceRefid;
	}
	public void setResourceRefid(String resourceRefid) {
		this.resourceRefid = resourceRefid;
	}
	public Boolean getActive() {
		return active;
	}
	public void setActive(Boolean active) {
		this.active = active;
	}
	
	

}
